﻿using Demo.Application.DbContexts;
using Demo.Domains.Entities.Sys;
using Microsoft.Extensions.DependencyInjection;
using PmSoft.Core;
using PmSoft.Data.SqlSugar.Repositories;
//using PmSoft.Data.PetaPoco.Repositories;

namespace Demo.Application.Services.Dept;

[Inject(ServiceLifetime.Scoped)]
public class DeptRepository : CacheRepository<AppDbContext, SysDept, int>
{
	public DeptRepository(AppDbContext dbContext,
		IApplicationContext applicationContext)
		: base(dbContext, applicationContext)
	{

	}
}
